x86: Clean ups and fixes after bitops changes.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 18 Mar 2008 10:51:20 +0000 (10:51 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 18 Mar 2008 10:51:20 +0000 (10:51 +0000)
commit5aff2f49babfd878120835cdd4b141a2a084c690
tree2abe87721d737f8145c0ebd9c332a04a56bac851
parent5eef1c7e01e2e5f6790bd0722b3002abc3dcdf22
x86: Clean ups and fixes after bitops changes.

Firstly, the vlapic bitops need fewer casts.

Secondly, the minimum-alignment check is unnecessary and also breaks
the build (page_info's type_info field has alignment == 1). It is an
unnecessary check because bitops operate on only one bit of the word
they access, so lack of atomicity of the read and writeback does not
matter -- furthermore the LOCKed variants are guaranteed atomic
regardless of alignment.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/vlapic.c
xen/include/asm-x86/bitops.h